import java.awt.Color;
import java.awt.Graphics;

import javax.swing.JComponent;

public class AlphaContainer extends JComponent {
	private static final long serialVersionUID = 1L;

	public AlphaContainer() {
		setOpaque(false);
		setDoubleBuffered(true);
	}

	@Override
	protected void paintComponent(Graphics g) {
		g.setColor(new Color(0, 0, 0, 0));
		g.fillRect(0, 0, getWidth(), getHeight());
		super.paintComponent(g);
	}

}